package com.njtoyo.taxi.admin.rest.presenter.business.advertise;

import com.njtoyo.taxi.admin.mapper.master.enums.AdvertiseApp;
import com.njtoyo.taxi.admin.mapper.master.enums.AdvertiseCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.AdvertiseLocation;
import com.njtoyo.taxi.admin.mapper.master.enums.MediaType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "广告列表模型")
public class AdvertisePagePresenter {
    @ApiModelProperty(value = "广告ID")
    private Long id;

    @ApiModelProperty(value = "广告标题")
    private String title;

    @ApiModelProperty(value = "媒体图片")
    private String mediaUrl;

    @ApiModelProperty(value = "平台端")
    private AdvertiseApp app;

    private Long regionId;

    @ApiModelProperty(value = "运营区类别")
    private String cantonType;

    @ApiModelProperty(value = "运营区Id")
    private Long cantonId;

    @ApiModelProperty(value = "运营区名称")
    private String cantonName;

    @ApiModelProperty(value = "广告位")
    private AdvertiseLocation location;

    private String pointTo;

    @ApiModelProperty(value = "0:webredirect,1:inappredirect,2:view")
    private AdvertiseCategory category;

    @ApiModelProperty(value = "城市id")
    private Integer cityId;

    @ApiModelProperty(value = "排序")
    private Integer sortBy;

    @ApiModelProperty(value = "是否启用")
    private Boolean isActive;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;

    private MediaType mediaType;
}
